package com.wmz.picture;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@MapperScan("com.wmz.picture.mapper")
@EnableAsync
@EnableAspectJAutoProxy(exposeProxy = true)// 通过AOP提供对当前代理对象的访问，使得可以在业务逻辑中访问到当前的代理对象，通过：AopContent.currentProxy()获取
public class WmzPictureBackendApplication {

    public static void main(String[] args) {
        SpringApplication.run(WmzPictureBackendApplication.class, args);
    }

}
